package com.yc.rh.entities;

public class UnderSpaceInfo {
	private int usid;
	private String usname;
	private String usnameHover;
	private String uspath;
	private String text1;
	private String text2;
	private String text3;
	public int getUsid() {
		return usid;
	}
	public void setUsid(int usid) {
		this.usid = usid;
	}
	public String getUsname() {
		return usname;
	}
	public void setUsname(String usname) {
		this.usname = usname;
	}
	public String getUsnameHover() {
		return usnameHover;
	}
	public void setUsnameHover(String usnameHover) {
		this.usnameHover = usnameHover;
	}
	public String getUspath() {
		return uspath;
	}
	public void setUspath(String uspath) {
		this.uspath = uspath;
	}
	public String getText1() {
		return text1;
	}
	public void setText1(String text1) {
		this.text1 = text1;
	}
	public String getText2() {
		return text2;
	}
	public void setText2(String text2) {
		this.text2 = text2;
	}
	public String getText3() {
		return text3;
	}
	public void setText3(String text3) {
		this.text3 = text3;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((text1 == null) ? 0 : text1.hashCode());
		result = prime * result + ((text2 == null) ? 0 : text2.hashCode());
		result = prime * result + ((text3 == null) ? 0 : text3.hashCode());
		result = prime * result + usid;
		result = prime * result + ((usname == null) ? 0 : usname.hashCode());
		result = prime * result
				+ ((usnameHover == null) ? 0 : usnameHover.hashCode());
		result = prime * result + ((uspath == null) ? 0 : uspath.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		UnderSpaceInfo other = (UnderSpaceInfo) obj;
		if (text1 == null) {
			if (other.text1 != null)
				return false;
		} else if (!text1.equals(other.text1))
			return false;
		if (text2 == null) {
			if (other.text2 != null)
				return false;
		} else if (!text2.equals(other.text2))
			return false;
		if (text3 == null) {
			if (other.text3 != null)
				return false;
		} else if (!text3.equals(other.text3))
			return false;
		if (usid != other.usid)
			return false;
		if (usname == null) {
			if (other.usname != null)
				return false;
		} else if (!usname.equals(other.usname))
			return false;
		if (usnameHover == null) {
			if (other.usnameHover != null)
				return false;
		} else if (!usnameHover.equals(other.usnameHover))
			return false;
		if (uspath == null) {
			if (other.uspath != null)
				return false;
		} else if (!uspath.equals(other.uspath))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "underSpaceInfo [usid=" + usid + ", usname=" + usname
				+ ", usnameHover=" + usnameHover + ", uspath=" + uspath
				+ ", text1=" + text1 + ", text2=" + text2 + ", text3=" + text3
				+ "]";
	}
	public UnderSpaceInfo(int usid, String usname, String usnameHover,
			String uspath, String text1, String text2, String text3) {
		super();
		this.usid = usid;
		this.usname = usname;
		this.usnameHover = usnameHover;
		this.uspath = uspath;
		this.text1 = text1;
		this.text2 = text2;
		this.text3 = text3;
	}
	public UnderSpaceInfo() {
		super();
	}
	
	
}
